<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Test01</title>
</head>
<body>
<script type="text/javascript">
    let obj01 = {'a': 1, 'b': 2, 'c': 3};

    let obj02 = {
        'a': 1,
        'b': 2,
        'c': 3,
        'd': 4
    };

    function f(...args) {
        console.log(args[0] + args[1] + args[2]);
    }

    f(1, 2, 3);

    let stu01 = {
        name: 'zhangsan',
        age: 18
    };

    let map01 = new Map();
    map01.set("a", 1);
    map01.set("b", 2);

    for (let [key, val] of map01) {
        console.log(key + ":" + val);
    }

    console.log(map01);

</script>
</body>
</html>